package com.carl.study.jooq;

import com.carl.study.gen.tables.records.PersonRecord;
import com.carl.study.jooq.server.PersonServer;

/**
 * @program: FrameStudy
 * @description:
 * @author: Mr.Carl
 **/
public class PersonController {
    static PersonServer service = new PersonServer();

    public static void main(String[] args) {
        PersonRecord person = new PersonRecord();
        person.setName("zhangsan");
        person.setSex("女");
        person.setAge(100);
        person.setAddress("aa");
        service.insert(person);
    }
}
